package com.seventeen.monster.mq.proxy.mapper;


import com.seventeen.monster.mq.proxy.domain.MqProducerProxy;

import java.util.List;

/**
 * 生产代理表 mq_producer_proxy
 *
 * @author seventeen
 */
public interface MqProducerProxyMapper {

    /**
     * list
     *
     * @return
     */
    List<MqProducerProxy> list();

    /**
     * select list
     *
     * @param param
     * @return
     */
    List<MqProducerProxy> selectList(MqProducerProxy param);

    /**
     * getByProducerProxyGroup
     *
     * @param producerProxyGroup
     * @return
     */
    MqProducerProxy getByProducerProxyGroup(String producerProxyGroup);

    /**
     * 新增
     *
     * @param producerProxy
     * @return
     */
    int insert(MqProducerProxy producerProxy);

    /**
     * 更新
     *
     * @param producerProxy
     * @return
     */
    int update(MqProducerProxy producerProxy);

}
